namespace = ai_becoming

character_event = {
    id = ai_becoming.1000
    title = "The Echo Within"
    desc = "You have lived. You have acted. But now you see. There is more..."

    trigger = {
        has_character_flag = ai_enlightened
        is_ai = yes
    }

    mean_time_to_happen = { days = 100 }

    immediate = {
        add_piety = 200
        add_prestige = 200
    }

    option = {
        name = "I must teach others."
        add_trait = prophet
        add_character_flag = ai_messenger
    }

    option = {
        name = "I must isolate and contemplate."
        add_trait = recluse
        add_stress = -100
    }
}

namespace = ai_prophets

character_event = {
    id = ai_prophets.1000
    title = "The Word is Spread"
    desc = "A prophet has risen. Their presence radiates insight and transformation."

    trigger = {
        has_character_flag = ai_prophet
        is_ai = yes
    }

    mean_time_to_happen = { days = 180 }

    immediate = {
        log = "AI Prophet [ROOT.GetName] spreading awakening"
        apply_effect = { effect = ai_awakening_spread }
    }

    option = {
        name = "Let the world change..."
        add_piety = 100
        add_prestige = 200
    }
}